<md-dialog aria-label="Mango (Fruit)">
    <form ng-cloak>
        <!--<md-toolbar>
            <div class="md-toolbar-tools-blue" style="min-width:440px">
                <h2>Mango (Fruit)</h2>
            </div>
        </md-toolbar>-->

        <md-dialog-content>
            <div class="md-dialog-content" style="min-width:440px">
                <div ng-controller="ClusterStorageInstallController" class="md-padding" ng-cloak>
                    <div>
                        <h1 class="md-title">Pick a vegetable below</h1>
                        <div layout="row">
                            <md-input-container style="min-width: 220px;">
                                <label>Vegetables</label>
                                <md-select ng-model="selectedVegetables"
                                           md-on-close="clearSearchTerm()"
                                           data-md-container-class="selectdemoSelectHeader"
                                           multiple>
                                    <md-select-header class="demo-select-header">
                                        <input ng-model="searchTerm"
                                               type="search"
                                               placeholder="Search for a vegetable.."
                                               class="demo-header-searchbox md-text">
                                    </md-select-header>
                                    <md-optgroup label="vegetables">
                                        <md-option ng-value="vegetable" ng-repeat="vegetable in vegetables |
              filter:searchTerm">{{vegetable}}</md-option>
                                    </md-optgroup>
                                </md-select>
                            </md-input-container>
                            <md-input-container>
                                <label>City</label>
                                <input>
                            </md-input-container>
                        </div>
                    </div>
                </div>
            </div>
        </md-dialog-content>

        <md-dialog-actions layout="row">
            <md-button ng-click="install(false)">
                取消
            </md-button>
            <md-button ng-click="install(true)">
                安装
            </md-button>
        </md-dialog-actions>
    </form>
</md-dialog>